package cn.icanci.ladybird.config;

import org.springframework.context.annotation.Bean;
import org.springframework.mail.javamail.JavaMailSenderImpl;

/**
 * @author: icanci
 * @date: Created in 2020/10/11 19:47
 * @classAction: 配置邮件的bean
 */
//@Configuration
public class JavaMailSenderImplBean {
    @Bean
    public JavaMailSenderImpl mailSender() {
        JavaMailSenderImpl javaMailSender = new JavaMailSenderImpl();
        return new JavaMailSenderImpl();
    }
}
